<!--<include file="public+header">-->

<!--{script}-->
function updateForm(){
	$("#submit_button").attr("disabled", "disabled");
	$("#submit_button").val( 'update...' );
	Q.AjaxSubmit('jiajucompanyAdd','<!--{:Admin_Extend::base(array('controller'=>'jiajucompany','action'=>'master'))}-->','',function(data,status){ 
		$("#submit_button").attr("disabled", false);
		$("#submit_button").val( '<!--<lang package='Template'>-->更新<!--</lang>-->' );
	});
}

checkForm(updateForm);
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current"><!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->编辑商家绑定管理员<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a href="javascript:void(0);" onclick="adminctrlmenuAdd('<!--{:__SELF__}-->','<!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->编辑商家绑定管理员<!--</lang>-->_<!--{$_GET['value']}-->')" title="<!--<lang package='Template'>-->添加到快捷导航<!--</lang>-->">[+]</a></article>
		</div>
	</section>

	<section id="main" class="column">
		<article class="module width_full">
			<header><h3><!--<lang package='Template'>-->操作提示<!--</lang>--></h3></header>
			<div class="module_content">
				<ul>
					<li><!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->绑定商家的管理员信息<!--</lang>--></li>
				</ul>
			</div>
		</article>

		<article class="module width_full">
			<header><h3 class="tabs_involved"><!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->编辑商家绑定管理员<!--</lang>--></h3>
				<ul class="tabs">
					<li class="active"><a href="<!--{:Admin_Extend::base(array('controller'=>'jiajucompany'))}-->"><!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->商家列表<!--</lang>--></a></li>
					<li><a href="<!--{:Admin_Extend::base()}-->"><!--<lang package='Template'>-->应用入口<!--</lang>--></a></li>
				</ul>
			</header>
			<form action="" method="post" id="jiajucompanyAdd" class="validate">
				<div class="module_content">
					<!--<include file="Admin_Extend::template('jiaju','jiajucompany/menu')" />-->
				
					<fieldset>
						<label for="jiajucompanymaster_username">绑定账号</label>
						<input type="text" name="jiajucompanymaster_username" id="jiajucompanymaster_username" class="{maxlength:50,remote:'<!--{:Admin_Extend::base(array('controller'=>'jiajucompany','action'=>'check_master'),isset( $oValue )?'value='.$oValue['jiajucompany_id']:'')}-->',messages:{remote:'<!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->商家绑定帐号不存在或者已经绑定其他商铺，请修改<!--</lang>-->'}}" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanymaster_username}--><!--</if>-->"/>
						<div class="description input_tips">管理员需要绑定的登录账户</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanymaster_name">管理员姓名</label>
						<input type="text" name="jiajucompanymaster_name" id="jiajucompanymaster_name" class="{maxlength:100}" id="jiajucompanymaster_name" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanymaster_name}--><!--</if>-->"/>
						<div class="description input_tips">商铺管理员的真实姓名</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanymaster_mobile">管理员手机</label>
						<input type="text" name="jiajucompanymaster_mobile" id="jiajucompanymaster_mobile" class="{isMobile:true,maxlength:50}" id="jiajucompanymaster_mobile" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanymaster_mobile}--><!--</if>-->"/>
						<div class="description input_tips">商铺管理员的联系手机</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanymaster_qq">管理员QQ</label>
						<input type="text" name="jiajucompanymaster_qq" id="jiajucompanymaster_qq" class="{isQQ:true,maxlength:50}" id="jiajucompanymaster_qq" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanymaster_qq}--><!--</if>-->"/>
						<div class="description input_tips">管理员的联系QQ</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanymaster_msgmobile">短信手机</label>
						<input type="text" name="jiajucompanymaster_msgmobile" id="jiajucompanymaster_msgmobile" class="{isMobile:true,maxlength:50}" id="jiajucompanymaster_msgmobile" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanymaster_msgmobile}--><!--</if>-->"/>
						<div class="description input_tips">接受网站提醒信息的手机</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanymaster_msgmail">提醒邮箱</label>
						<input type="text" name="jiajucompanymaster_msgmail" id="jiajucompanymaster_msgmail" class="{email:true,maxlength:150}" id="jiajucompanymaster_msgmail" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanymaster_msgmail}--><!--</if>-->"/>
						<div class="description input_tips">接受网站信息的邮箱</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanymaster_msgqq">提醒QQ</label>
						<input type="text" name="jiajucompanymaster_msgqq" id="jiajucompanymaster_msgqq" class="{isQQ:true,maxlength:50}" id="jiajucompanymaster_msgqq" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanymaster_msgqq}--><!--</if>-->"/>
						<div class="description input_tips">接受网站信息的QQ</div>
						<p class="input_errortips"></p>
					</fieldset>
				</div>
				<footer>
					<div class="submit_link">
						<input type="hidden" name="ajax" value="1">
						<input type="hidden" name="value" id="value" value="<!--{$_GET['value']}-->"/>
						<input type="submit" id="submit_button" value="<!--<lang package='Template'>-->更新<!--</lang>-->" class="alt_btn">
						&nbsp;<input type="reset" value="<!--<lang package='Template'>-->重置<!--</lang>-->">
					</div>
				</footer>
			</form>
		</article>

<!--<include file="public+footer">-->